package com.prs.crm.service.cdxh.impl;

import java.io.Serializable;

import com.prs.crm.dao.cdxh.DistributionOrderDao;
import com.prs.crm.domain.cdxh.DistributionOrder;
import com.prs.crm.domain.cdxh.DistributionOrderDetail;
import com.prs.crm.service.cdxh.DistributionOrderService;
import com.prs.crm.service.impl.BaseServiceImpl;


public class DistributionOrderServiceImpl extends BaseServiceImpl<DistributionOrder, DistributionOrderDao> implements DistributionOrderService {

	@Override
	public DistributionOrder get(Serializable id) {
		// TODO Auto-generated method stub
		return this.getDao().get(id);
	}

	@Override
	public void saveOrUpdate(DistributionOrder distributionOrder) {
		// TODO Auto-generated method stub
		this.getDao().saveOrUpdate(distributionOrder);
	}

	@Override
	public DistributionOrder getDistribution(Serializable id) {
		// TODO Auto-generated method stub
		return this.getDao().getDistribution(id);
	}
	@Override
	public DistributionOrder getDistributionOrder(String disOrderCode,
			String disOrderCustomer) {
		// TODO Auto-generated method stub
		return this.getDao().getDistributionOrder(disOrderCode, disOrderCustomer);
	}

	@Override
	public void saveOrDistributionOrder(DistributionOrder distributionOrder) {
		// TODO Auto-generated method stub
		this.getDao().saveOrDistributionOrder(distributionOrder);
	}

	@Override
	public DistributionOrderDetail getDistributionOrderDetail(
			String productCode, DistributionOrder distributionOrder) {
		// TODO Auto-generated method stub
		return this.getDao().getDistributionOrderDetail(productCode, distributionOrder);
	}

	@Override
	public void saveOrDistributionOrderDetail(
			DistributionOrderDetail distributionOrderDetail) {
		// TODO Auto-generated method stub
		this.getDao().saveOrDistributionOrderDetail(distributionOrderDetail);
	}

	@Override
	public DistributionOrderDetail getDistributionOrderDetail(Serializable id) {
		// TODO Auto-generated method stub
		return this.getDao().getDistributionOrderDetail(id);
	}

	@Override
	public DistributionOrder setDistributionOrder(String saleOrderPlan) {
		// TODO Auto-generated method stub
		return this.getDao().setDistributionOrder(saleOrderPlan);
	}





}
